home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Telnet 2.6.1d1 4⁄26⁄94 Folder / Krb / encrypt.proto.h < prev    next >
Text File  |  1993-10-11  |  3KB  |  49 lines

  1. /*
  2.  * encrypt.c
  3.  */
  4. extern Encryptions *findencryption(CDATA *tw, long type);
  5. extern Encryptions *finddecryption(CDATA *tw, long type);
  6. extern void encrypt_init(CDATA *tw, char *name, long server);
  7. extern void encrypt_list_types(void);
  8. extern long EncryptEnable(CDATA *tw, char *type, char *mode);
  9. extern long EncryptDisable(CDATA *tw, char *type, char *mode);
  10. extern long EncryptType(CDATA *tw, char *type, char *mode);
  11. extern long EncryptStart(CDATA *tw, char *mode);
  12. extern long EncryptStartInput(CDATA *tw);
  13. extern long EncryptStartOutput(CDATA *tw);
  14. extern long EncryptStop(CDATA *tw, char *mode);
  15. extern long EncryptStopInput(CDATA *tw);
  16. extern long EncryptStopOutput(CDATA *tw);
  17. extern void encrypt_display(CDATA *tw);
  18. extern long EncryptStatus(CDATA *tw);
  19. extern void encrypt_send_support(CDATA *tw);
  20. extern long EncryptDebug(CDATA *tw, long on);
  21. extern long EncryptVerbose(CDATA *tw, long on);
  22. extern long EncryptAutoEnc(CDATA *tw, long on);
  23. extern long EncryptAutoDec(CDATA *tw, long on);
  24. extern void encrypt_support(CDATA *tw, unsigned char *typelist, long cnt);
  25. extern void encrypt_is(CDATA *tw, unsigned char *data, long cnt);
  26. extern void encrypt_reply(CDATA *tw, unsigned char *data, long cnt);
  27. extern void encrypt_start(CDATA *tw, unsigned char *data, long cnt);
  28. extern void encrypt_session_key(CDATA *tw, Session_Key *key, long server);
  29. extern void encrypt_end(CDATA *tw);
  30. extern void encrypt_request_end(CDATA *tw);
  31. extern void encrypt_request_start(CDATA *tw, unsigned char *data, long cnt);
  32. extern void encrypt_enc_keyid(CDATA *tw, unsigned char *keyid, long len);
  33. extern void encrypt_dec_keyid(CDATA *tw, unsigned char *keyid, long len);
  34. extern void encrypt_keyid(CDATA *tw, struct key_info *kp, unsigned char *keyid, long len);
  35. extern void encrypt_send_keyid(CDATA *tw, long dir, unsigned char *keyid, long keylen, long saveit);
  36. extern void encrypt_auto(CDATA *tw, long on);
  37. extern void decrypt_auto(CDATA *tw, long on);
  38. extern void encrypt_start_output(CDATA *tw, long type);
  39. extern void encrypt_send_end(CDATA *tw);
  40. extern void encrypt_send_request_start(CDATA *tw);
  41. extern void encrypt_send_request_end(CDATA *tw);
  42. extern void encrypt_wait(CDATA *tw);
  43. extern void encrypt_debug(CDATA *tw, long mode);
  44. extern void encrypt_gen_printsub(unsigned char *data, long cnt, unsigned char *buf, long buflen);
  45. extern void encrypt_printsub(unsigned char *data, long cnt, unsigned char *buf, long buflen);
  46. extern void xxxprintsub(CDATA *tw, char direction, unsigned char *pointer, long length);
  47. extern void net_encrypt(void);
  48. extern void xprintf(CDATA *cp, char *format, ...);
  49.